package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.common.result.ResultCode;
import com.atguigu.yygh.hosp.result.Result;
import com.atguigu.yygh.model.cmn.Dict;
import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface HospitalService {
    void saveHospital(HttpServletRequest request);

    Result getHospital(HttpServletRequest request);

    ResultCode.R findAll(int limit, int page, HospitalQueryVo hospitalQueryVo);

    List<Dict> getDictByDictCode(String province);

    List<Dict> findChildData(String provinceCode);

    void updateStatus(String id, String status);

    /**
     * 通过Id 查询 Hospital 数据
     * @param id
     * @return
     */
    Hospital getHospById(String id);

}
